<!-- extend继承 -->
{{extend './layout.html'}}

{{block 'style'}}
  <style>
      body{background:skyblue}
  </style>
{{/block}}

{{block 'content'}}
 <dvi>
     <h1>index页面被填坑部分</h1>
 </dvi>
{{/block}}

{{block 'script'}}
<script>
    window.alert('index页面的脚本')
</script>
{{/block}}